// samsting : this file is auto create.

#include "Cdn/2014-11-11/DescribeCdnDomainLogsResponse.h"

namespace aliyun { namespace Cdn {

DescribeCdnDomainLogsResponse::DescribeCdnDomainLogsResponse() {
}

const string& DescribeCdnDomainLogsResponse::DomainLogModel::DomainLogDetail::GetLogName(void) const {
  return LogName_;
}

const string& DescribeCdnDomainLogsResponse::DomainLogModel::DomainLogDetail::GetLogPath(void) const {
  return LogPath_;
}

int64 DescribeCdnDomainLogsResponse::DomainLogModel::DomainLogDetail::GetLogSize(void) const {
  return LogSize_;
}

const string& DescribeCdnDomainLogsResponse::DomainLogModel::DomainLogDetail::GetStartTime(void) const {
  return StartTime_;
}

const string& DescribeCdnDomainLogsResponse::DomainLogModel::DomainLogDetail::GetEndTime(void) const {
  return EndTime_;
}

const std::vector<DescribeCdnDomainLogsResponse::DomainLogModel::DomainLogDetail>& DescribeCdnDomainLogsResponse::DomainLogModel::GetDomainLogDetails(void) const {
  return DomainLogDetails_;
}

const string& DescribeCdnDomainLogsResponse::DomainLogModel::GetDomainName(void) const {
  return DomainName_;
}

const DescribeCdnDomainLogsResponse::DomainLogModel& DescribeCdnDomainLogsResponse::GetDomainLogModel(void) const {
  return DomainLogModel_;
}

const char* DescribeCdnDomainLogsResponse::BaseKey(void) {
  return "DescribeCdnDomainLogsResponse";
}

void DescribeCdnDomainLogsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
      int DomainLogModel__DomainLogDetails__length = 0;
      UnmarshallerInt(DomainLogModel__DomainLogDetails__length, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainLogDetails.Length");
      if(DomainLogModel__DomainLogDetails__length >= 0) {
        DomainLogModel_.DomainLogDetails_.resize(DomainLogModel__DomainLogDetails__length);
        for(int i2 = 0; i2 < DomainLogModel__DomainLogDetails__length; i2++) {
          UnmarshallerString(DomainLogModel_.DomainLogDetails_[i2].LogName_, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainLogDetails["+string_ValueOfInt(i2)+"].LogName");
          UnmarshallerString(DomainLogModel_.DomainLogDetails_[i2].LogPath_, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainLogDetails["+string_ValueOfInt(i2)+"].LogPath");
          UnmarshallerInt64(DomainLogModel_.DomainLogDetails_[i2].LogSize_, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainLogDetails["+string_ValueOfInt(i2)+"].LogSize");
          UnmarshallerString(DomainLogModel_.DomainLogDetails_[i2].StartTime_, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainLogDetails["+string_ValueOfInt(i2)+"].StartTime");
          UnmarshallerString(DomainLogModel_.DomainLogDetails_[i2].EndTime_, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainLogDetails["+string_ValueOfInt(i2)+"].EndTime");
        } // for(int i2 = 0; i2 < DomainLogModel__DomainLogDetails__length; i2++) {
      } // if(DomainLogModel__DomainLogDetails__length >= 0) {

    UnmarshallerString(DomainLogModel_.DomainName_, response_map, "DescribeCdnDomainLogsResponse.DomainLogModel.DomainName");
}


} } // namespace aliyun { namespace Cdn {

// end of file 
